package com.nation.serviceImpl;

import com.nation.dao.VideoDao;
import com.nation.domain.TVideo;
import com.nation.service.VideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 凌 on 2017/11/21.
 */
@Service("VideoServiceImpl")
public class VideoServiceImpl implements VideoService{
    @Autowired
    VideoDao VideoDao;

    public int getNumOfVideo(){
        return VideoDao.getNumOfVideo();
    }

    public void uploadNationFile_videos(TVideo tVideo){
        VideoDao.uploadNationFile_videos(tVideo);
    }
}
